VOID QTAPI AlignWindow (WindowPtr wp, Boolean front, LPRECT aligmentRect, AlignmentProcRecordPtr alignmentProc);
wp
Points to the window to be aligned.
front
Specifies the front most window. If the front parameter is true and the window specified in the wp parameter isn't the active window, AlignWindow makes it the active window.
alignmentRect
Contains a pointer to a rectangle in window coordinates that allows you to align the window to a rectangle within the window. Set this parameter to nil to align using the bounds of the window.
alignmentProc
Points to a function that allows you to provide your own alignment behavior. Set this parameter to nil to use the standard behavior.
Example of use:
GetMovieBox (mMovie,&rcMovie); AlignWindow ((WindowPtr)hwndMovie, FALSE, &rcMovie,NULL);